package com.wodsy.phoenix.datadao.shopc.dao.impl;

import com.wodsy.phoenix.datadao.base.BaseHibernateDao;
import com.wodsy.phoenix.datadao.shopc.dao.GoodsClassInShopDao;
import com.wodsy.phoenix.dataobject.shopc.model.GoodsClassInShop;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;

@Repository("goodsClassInShopDao")
public class GoodsClassInShopDaoImpl extends BaseHibernateDao<GoodsClassInShop, Integer> implements GoodsClassInShopDao {
	@Autowired
	@Qualifier(value="shopc")
	@Override
	public void setSessionFactory(SessionFactory sessionFactory) {
		this.sessionFactory = sessionFactory;
	}

	@Override
	public Class<GoodsClassInShop> getModelClass() {
		return GoodsClassInShop.class;
	}

}
